package main

import (
	"github.com/astaxie/beego"
)

type ResponseController struct {
	beego.Controller
}

/*
c.Ctx
	c.Ctx.ResponseWriter
	C.Ctx.Output
*/

func (c *ResponseController) Test() {
	c.Data["user"] = "ss"
	c.TplName = "responsecontroller/test.html"
}

func main() {
	beego.AutoRouter(&ResponseController{})
	beego.Run(":19998")
}
